
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>晋江出行平台管理端</title>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<link rel="icon" type="image/png" href="{$static_dir}/assets/i/favicon.ico">
		<!--<link rel="apple-touch-icon-precomposed" href="{$static_dir}/assets/i/app-icon72x72@2x.png">-->
		<meta name="apple-mobile-web-app-title" content="晋江出行平台管理端" />
		<link rel="stylesheet" href="{$static_dir}/assets/js/layui/css/layui.css" >
		<link rel="stylesheet" href="{$static_dir}/assets/css/amazeui.min.css" />
		<link rel="stylesheet" href="{$static_dir}/assets/css/loader.css" />
		<link rel="stylesheet" href="{$static_dir}/assets/css/amazeui.datatables.min.css" />
		<link rel="stylesheet" href="{$static_dir}/assets/css/app.css">
		<link rel="stylesheet" href="{$static_dir}/assets/css/cache_main1119.css">  
		<link rel="stylesheet" href="{$static_dir}/assets/css/zTreeStyle.css">
		<link rel="stylesheet" href="{$static_dir}/assets/css/liMarquee.css">
		<link rel="stylesheet" href="{$static_dir}/assets/css/style.css">
		<!--<link rel="stylesheet" href="{$static_dir}/assets/css/lixianditu.css">-->
		<script src="{$static_dir}/assets/js/echarts.min.js"></script>
		<script src="{$static_dir}/assets/js/jquery.min.js"></script>
		<script src="{$static_dir}/assets/js/allarea.js"></script>
		<script src="{$static_dir}/assets/js/layui/layui.js"></script>
		<!--<script src="{$static_dir}/assets/js/laydate/laydate.js"></script>-->
		
		
	</head>

	<body data-type="index">
		<script src="{$static_dir}/assets/js/theme.js"></script>
		{if $notPopup}
		<div class="am-g tpl-g">

			<!-- 头部 -->
			<header>
				<!-- logo -->
				<div class="am-fl tpl-header-logo">
					<a href="javascript:;"><img src="{$static_dir}/assets/img/logo.png" alt=""></a>
				</div>
				<!-- 右侧内容 -->
				<div class="tpl-header-fluid">
					<!-- 侧边切换 -->
					<div class="am-fl tpl-header-switch-button am-icon-list">
						<span></span>
					</div>
					
					<!-- 搜索 -->
					<!--<div class="am-fl tpl-header-search">
						<form class="tpl-header-search-form" action="javascript:;">
							<button class="tpl-header-search-btn am-icon-search"></button>
							<input class="tpl-header-search-box" type="text" placeholder="搜索内容...">
						</form>
					</div>-->
					<!-- 其它功能-->
					<div class="am-fr tpl-header-navbar">
						<ul>
							<!-- 欢迎语 -->
							<li class="am-text-sm tpl-header-navbar-welcome">
								<a href="javascript:;">欢迎你, <span>{$user.username}({$user.role_name})</span> </a>
							</li>

							<!-- 新邮件 -->
							<li class="am-dropdown tpl-dropdown" data-am-dropdown>
								<a href="javascript:;" class="am-dropdown-toggle tpl-dropdown-toggle" data-am-dropdown-toggle>
									<i class="am-icon-envelope"></i>
									<span class="am-badge am-badge-success am-round item-feed-badge">4</span>
								</a>
								<!-- 弹出列表 -->
								<ul class="am-dropdown-content tpl-dropdown-content">
									<!--<li class="tpl-dropdown-menu-messages">
										<a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
											<div class="menu-messages-ico">
												<img src="" alt="">
											</div>
											<div class="menu-messages-time">
												3小时前
											</div>
											<div class="menu-messages-content">
												<div class="menu-messages-content-title">
													<i class="am-icon-circle-o am-text-success"></i>
													<span>夕风色</span>
												</div>
												<div class="am-text-truncate"> Amaze UI 的诞生，依托于 GitHub 及其他技术社区上一些优秀的资源；Amaze UI 的成长，则离不开用户的支持。 </div>
												<div class="menu-messages-content-time">2016-09-21 下午 16:40</div>
											</div>
										</a>
									</li>-->

									<!--<li class="tpl-dropdown-menu-messages">
										<a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
											<div class="menu-messages-ico">
												<img src="" alt="">
											</div>
											<div class="menu-messages-time">
												5天前
											</div>
											<div class="menu-messages-content">
												<div class="menu-messages-content-title">
													<i class="am-icon-circle-o am-text-warning"></i>
													<span>禁言小张</span>
												</div>
												<div class="am-text-truncate"> 为了能最准确的传达所描述的问题， 建议你在反馈时附上演示，方便我们理解。 </div>
												<div class="menu-messages-content-time">2016-09-16 上午 09:23</div>
											</div>
										</a>
									</li>-->
									<li class="tpl-dropdown-menu-messages">
										<a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
											<i class="am-icon-circle-o"></i> 进入列表…
										</a>
									</li>
								</ul>
							</li>

							<!-- 新提示 -->
							<li class="am-dropdown" data-am-dropdown>
								<a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle>
									<i class="am-icon-bell"></i>
									<span class="am-badge am-badge-warning am-round item-feed-badge">5</span>
								</a>

								<!-- 弹出列表 -->
								<ul class="am-dropdown-content tpl-dropdown-content">
									<!--<li class="tpl-dropdown-menu-notifications">
										<a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
											<div class="tpl-dropdown-menu-notifications-title">
												<i class="am-icon-line-chart"></i>
												<span>有6笔新的销售订单</span>
											</div>
											<div class="tpl-dropdown-menu-notifications-time">
												12分钟前
											</div>
										</a>
									</li>

									<li class="tpl-dropdown-menu-notifications">
										<a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
											<div class="tpl-dropdown-menu-notifications-title">
												<i class="am-icon-star"></i>
												<span> 有3个来自人事部的消息</span>
											</div>
											<div class="tpl-dropdown-menu-notifications-time">
												30分钟前
											</div>
										</a>
									</li>
									<li class="tpl-dropdown-menu-notifications">
										<a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
											<div class="tpl-dropdown-menu-notifications-title">
												<i class="am-icon-folder-o"></i>
												<span> 上午开会记录存档</span>
											</div>
											<div class="tpl-dropdown-menu-notifications-time">
												1天前
											</div>
										</a>
									</li>-->

									<li class="tpl-dropdown-menu-notifications">
										<a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
											<i class="am-icon-bell"></i> 进入列表…
										</a>
									</li>
								</ul>
							</li>

							<!--选择区域-->
							<li class="am-text-sm">
								<div id="doc-dropdown-justify">
									<div class="am-dropdown" data-am-dropdown="{justify: '#doc-dropdown-justify'}" style="color: #000;">

										<a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle>
											<div>选择地区 </div>
										</a>
										<div class="am-dropdown-content" style="width: 300px;">
											<ul class="sidebar-nav" id="collapase-nav-1" style="width: 100%;">
												<li class="sidebar-nav-link" style="width: 100%;">
													<a href="javascript:;" class="sidebar-nav-sub-title" style="line-height: 30px;">
														<i class="am-icon-map sidebar-nav-link-logo"></i> 泉州
														<span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
													</a>
													<ul class="sidebar-nav sidebar-nav-sub">
														<li class="sidebar-nav-link" style="width: 100%;">
															<a href="table-list.html" style="line-height: 30px;">
																<span class="am-icon-angle-right sidebar-nav-link-logo"></span> 石狮
															</a>
														</li>

														<li class="sidebar-nav-link" style="width: 100%;">
															<a href="table-list-img.html" style="line-height: 30px;">
																<span class="am-icon-angle-right sidebar-nav-link-logo"></span> 晋江
															</a>
														</li>
														<li class="sidebar-nav-link" style="width: 100%;">
															<a href="table-list-img.html" style="line-height: 30px;">
																<span class="am-icon-angle-right sidebar-nav-link-logo"></span> 南安
															</a>
														</li>
													</ul>
												</li>
												<li class="sidebar-nav-link" style="width: 100%;">
													<a href="javascript:;" class="sidebar-nav-sub-title" style="line-height: 30px;">
														<i class="am-icon-map sidebar-nav-link-logo"></i> 厦门
														<span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
													</a>

												</li>

											</ul>
										</div>
									</div>
								</div>
							</li>
							<!-- 退出 -->
							<li class="am-text-sm">
								<a href="{:url('login/singout')}">
									<span class="am-icon-sign-out"></span> 退出
								</a>
							</li>
						</ul>
					</div>
				</div>
			</header>
			<!-- 风格切换 -->
			<div class="tpl-skiner">
				<div class="tpl-skiner-toggle am-icon-cog">
				</div>
				<div class="tpl-skiner-content">
					<div class="tpl-skiner-content-title">
						选择主题
					</div>
					<div class="tpl-skiner-content-bar">
						<span class="skiner-color skiner-black" data-color="theme-black"></span>
						<span class="skiner-color skiner-white" data-color="theme-white"></span>
					</div>
				</div>
			</div>
			<!-- 侧边导航栏 -->
			<div class="left-sidebar">
				<!-- 用户信息 -->
				<div class="tpl-sidebar-user-panel">
					<div class="tpl-user-panel-slide-toggleable">

						<div class="tpl-user-panel-profile-picture">
							<img src="{if $item.avatar}{:CxImg($item.avatar)}{else/}{$static_dir}/assets/img/noheader.jpg{/if}" alt="">
						</div>
						<span class="user-panel-logged-in-text">
			              <i class="am-icon-circle-o am-text-success tpl-user-panel-status-icon"></i>
			              {$user.username} ({$user.role_name})
			          </span> {if $user.role_id==1}
						<a href="{:url('/admin/user/chgpwd')}" class="tpl-user-panel-action-link"><span class="am-icon-pencil"></span> 账号设置</a>
						{/if}
                        <a href="{:url('/admin/user/log')}" class="tpl-user-panel-action-link"><span class="am-icon-file-text-o"></span> 操作日记</a>
					</div>
				</div>

				<!-- 菜单 -->

				<ul class="sidebar-nav topest">
					<div class="menuheight" style="position: relative;width: 100%;">
						<div id="menuMain" style="position: absolute;top: 0;bottom: 0;overflow: hidden;width: 100%;">
							<div style="width: 100%;">
								{foreach $menus AS $menu}
								<li class="sidebar-nav-link">
									<a href="{$menu.url}" class="sidebar-nav-sub-title" data-url="{$menu.url}">
										<i class="am-icon-{$menu.icon} sidebar-nav-link-logo"></i> {$menu.name} {if $menu.children}
										<span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span> {/if}
									</a>
									{if $menu.children}
									<ul class="sidebar-nav sidebar-nav-sub">
										{foreach $menu.children AS $submenu}
										<li class="sidebar-nav-link">
											<a href="{$submenu.url}" class="sidebar-nav-sub-title" data-url="{$submenu.url}">
												<i class="am-icon-{$submenu.icon?:'angle-right'} sidebar-nav-link-logo"></i> {$submenu.name} {if $submenu.children}
												<span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span> {/if}
											</a>

											{if $submenu.children}
											<ul class="sidebar-nav sidebar-nav-sub">
												{foreach $submenu.children AS $lastmenu}
												<li class="sidebar-nav-link">
													<a href="{$lastmenu.url}" data-url="{$lastmenu.url}">
														<span class="am-icon-angle-right sidebar-nav-link-logo"></span> {$lastmenu.name}
													</a>
												</li>
												{/foreach}
											</ul>
											{/if}
										</li>
										{/foreach}
									</ul>
									{/if}
								</li>
								{/foreach}
							</div>
						</div>
					</div>
				</ul>

			</div>
			{/if}

			<!-- 内容区域 -->
			{if $notPopup}
			<div class="tpl-content-wrapper">
				{else/}
				<!--<div class="tpl-content-wrapper active">-->
					{/if}
					<div id="loading-first">
						<div id="loading-center">
							<div id="loading-center-absolute">
								<div class="object" id="first_object"></div>
								<div class="object" id="second_object"></div>
								<div class="object" id="third_object"></div>
								<div class="object" id="forth_object"></div>
							</div>
						</div>
					</div>
					<audio class="dingmp3" style="display: none;" src="{$static_dir}/static/ding.mp3" controls="controls"></audio>
					<div class="am-u-sm-12 cl-p scrollmain-w po_absolute" {if $notPopup}{else/}style="min-height:100%" {/if}>
						<div id="scrollmain" style="width:100%;height: 100%;overflow:hidden ;">		

